home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / QuickDraw™ GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Confidential ƒ / Confidential.make < prev    next >
Encoding:
Text File  |  1995-09-27  |  1.7 KB  |  60 lines  |  [TEXT/MPS ]

  1. #    File:        Confidential.make
  2. #   Target:     Confidential
  3. #   Sources:    Confidential.a Confidential.c Confidential.r
  4. #   Created:    Monday, Feb. 1, 1993 2:34:56 PM
  5. #
  6. #    Makefile for a printing extension that stamps a message on each page spooled.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    2/01/93  - dmh - Completely rewrote for the a5 seed.
  12. #    4/26/93  - dmh - For b1 - removed ! from filenames because
  13. #                     they were killing BuildProgram…
  14. #    9/05/93  - dmh - Updated for b2.
  15. #  12/18/93  - dmh - Updated for b3.
  16. #    8/24/94     - dmh - finalized.
  17. #
  18.  
  19. # Our creator type:
  20.  
  21. kCreator = 'CON!'
  22.  
  23.  
  24. #    Alias to the paths for the GX interface files.
  25.  
  26. GXLibs = {MPW}GXLibraries
  27. GXCompatIntf = {MPW}GXCompatibilityInterfaces
  28.  
  29.  
  30. #    The assembly/C options we want to use.  Make sure you use
  31. #    the -b2 option or your static strings will be treated as
  32. #    global data, and the linker will have a hissy.
  33.  
  34. AsmOptions        = -sym off -i {CIncludes} -i {GXLibs} -i {GXCompatIntf} -case obj
  35. CompileOptions    = -sym off -i {CIncludes} -i {GXLibs} -i {GXCompatIntf} -mbg full -b2
  36.  
  37.  
  38. #    Alias to the compiled files.
  39.  
  40. OBJECTS = Confidential.a.o Confidential.c.o
  41.  
  42.  
  43. Confidential.a.o ƒ Confidential.make Confidential.a
  44.      Asm {AsmOptions} Confidential.a
  45. Confidential.c.o ƒ Confidential.make Confidential.c Confidential.h
  46.      C {CompileOptions} -r  Confidential.c
  47.  
  48. Confidential ƒƒ Confidential.make Confidential.r {OBJECTS}
  49.     Link    -ra =resSysHeap,resPurgeable    ∂
  50.             -c {kCreator}                    ∂
  51.             -t 'pext'                        ∂
  52.             -rt pext=0                        ∂
  53.             -sg ConfidentialMPW                ∂
  54.             -m EntryPoint                     ∂
  55.             {OBJECTS}                        ∂
  56.             "{Libraries}Interface.o"        ∂
  57.             -o Confidential;
  58.     SetFile Confidential -a iB;
  59.     Rez -i {CIncludes} -rd -o Confidential Confidential.r -append 
  60.